import './assets/main.css'

import { createApp } from 'vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import VForm3 from 'vform3-builds'  //引入VForm3库
import 'vform3-builds/dist/designer.style.css'  //引入VForm3样式
// 引入配置好的路由文件
import router from './router'


import App from './App.vue'

const app = createApp(App)

// 1. 引入要注册的组件
import GlobalComDemo from './components/GlobalComDemo.vue'
// 2. 注册
app.component('GlobalComDemo',GlobalComDemo)


app.use(ElementPlus)
// 绑定到vue的实例上
app.use(router)

app.use(VForm3)  //全局注册VForm3(同时注册了v-form-designe、v-form-render等组件)
app.mount('#app')


